package com.mf.service;

import com.mf.dto.PositionsDto;
import com.mf.entity.Positions;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mf.vo.positions.PositionsVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 持仓表 服务类
 * </p>
 *
 * @author mf
 * @since 2024-05-18
 */
public interface IPositionsService extends IService<Positions> {

    PositionsVo findPositionsByUserId(Integer userId);

    List<Map<String, Object>> findPositionsByList(PositionsDto positionsDto);

    Map<String, Object> selectCode(String dm, String start, String end);
}
